import i18n from '@/lang'
// 系统日志列表表头,列带有special属性值为true时，说时需要单独处理单元中的值
export const sysLogTbColumns = [{
    title: i18n.t('logTitle'),
    dataIndex: 'logTitle',
    scopedSlots: {
      customRender: 'logTitle'
    },
    width: 80,
    special: true,
  ellipsis: true
}, {
    title: i18n.t('logType'),
    dataIndex: 'logType',
    scopedSlots: {
      customRender: 'logType'
    },
    width: 70,
    special: true,
    ellipsis: true
}, {
  title: i18n.t('object'),
  dataIndex: 'object',
  scopedSlots: {
    customRender: 'object'
  },
  width: 70,
  special: true,
  ellipsis: true
},
  /*{
  title: i18n.t('businessProcessId'),
  dataIndex: 'businessProcessId',
  scopedSlots: {
    customRender: 'businessProcessId'
  },
  width: 100,
  special: true,
  ellipsis: true
}, */{
  title: i18n.t('changeData'),
  dataIndex: 'changeData',
  scopedSlots: {
    customRender: 'changeData'
  },
  special: true,
  width: 120,
  ellipsis: true
}, /*{
  title: i18n.t('transferData'),
  dataIndex: 'transferData',
  scopedSlots: {
    customRender: 'transferData'
  },
  width: '10%',
  special: true,
  ellipsis: true
}, {
  title: i18n.t('oldObject'),
  dataIndex: 'oldObject',
  scopedSlots: {
    customRender: 'oldObject'
  },
  width: 100,
  special: true,
  ellipsis: true
}, {
  title: i18n.t('newObject'),
  dataIndex: 'newObject',
  scopedSlots: {
    customRender: 'newObject'
  },
  width: 100,
  ellipsis: true,
  special: true,
  sorter: true
}, */{
  title: i18n.t('tableName'),
  dataIndex: 'tableName',
  scopedSlots: {
    customRender: 'tableName'
  },
  width: 90,
  special: true,
  ellipsis: true
}, /*{
  title: i18n.t('businessCallMethod'),
  dataIndex: 'businessCallMethod',
  scopedSlots: {
    customRender: 'businessCallMethod'
  },
  width: '17%',
  special: true,
  ellipsis: true
}, */ {
  title: i18n.t('operator2'),
  dataIndex: 'operator',
  scopedSlots: {
    customRender: 'operator'
  },
  width: 100,
  special: true,
  ellipsis: true
}, {
  title: i18n.t('operateTime'),
  dataIndex: 'operateTime',
  scopedSlots: {
    customRender: 'operateTime'
  },
  width: 100,
  special: true,
  ellipsis: true
}]
